package com.iot.ic.modules.dao;

import com.iot.ic.common.dao.BaseDao;
import com.iot.ic.modules.model.Accounts;
import com.iot.ic.modules.model.Amounts;

import java.util.List;

public interface AmountDao  extends BaseDao {
    Amounts findAmountByUid(Integer userId) throws Exception;
    boolean updateAmountState(Integer userId, Integer state) throws Exception;

    List<Accounts> findAccountByUid(Integer userId)throws Exception;
}
